#ifndef __VCD_MESSAGE_DIALOG_H__
#define __VCD_MESSAGE_DIALOG_H__

#include <gtk/gtk.h>

G_BEGIN_DECLS

typedef void (*button_callback)(gpointer p);


typedef struct _diag_context{
  const char *info;
  button_callback btn_yes;
  button_callback btn_no;
  gpointer user_data;
}message_diag_context;

int vcd_message_dialog(message_diag_context* ctx);
void message_box(const char *information);
void show_warning(GtkWidget *window);
GtkWidget * message_box_reconnect(const char* msg,button_callback func);

GtkWidget* vcd_message_dialog_logining(void);
GtkWidget* vcd_message_dialog_logining_with_gif(const char* path,button_callback func);

G_END_DECLS

#endif
